/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Control;

import Modelo.Hardwood;

/**
 *
 * @author ivyduk
 */
public class CalcularPrecio {
    
    public double Precio(Hardwood h,int cantidad){
        double precio;
        precio=(h.getPrice())*cantidad;
        return precio;
    }
}
